/*
 * @Description: In User Settings Edit
 * @Author: your name
 * @Date: 2019-09-02 16:05:00
 * @LastEditTime: 2019-09-16 16:41:21
 * @LastEditors: Please set LastEditors
 */
import Vue from 'vue'
import Router from 'vue-router'

Vue.use(Router)

export default new Router({
  mode: 'hash',
  // base: process.env.BASE_URL,
  routes: [{
      path: '/',
      name: 'login',
      component: () => import('./views/login/login.vue')
    },
    {
      path: '/findPassWord',
      name: 'findPassWord',
      component: () => import('./components/findPassWord.vue')
    },
    {
      path: '/home',
      name: 'home',
      component: () => import('./views/home/home.vue')
    },
    {
      path: '/mine',
      name: 'mine',
      component: () => import('./views/mine/mine.vue')
    },
    {
      path: '/alarmList',
      name: 'alarmList',
      component: () => import('./views/alarmList/alarmList.vue')
    }, {
      path: '/alarmDetail',
      name: 'alarmDetail',
      component: () => import('./views/alarmList/alarmDetail.vue')
    },
    {
      path: '/messageDetail',
      name: 'messageDetail',
      component: () => import('./views/message/messageDetail.vue')
    }


  ]
})